package com.cxl.demo.service;

import com.cxl.demo.mapper.RecordConditionMapper;
import com.cxl.demo.mapper.RecordGradeMapper;
import com.cxl.demo.vo.RecordCondition;
import com.cxl.demo.vo.RecordGrade;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class GradeAndConditionServiceImpl implements GradeAndConditionService{

    @Autowired
    RecordGradeMapper recordGradeMapper;
    @Autowired
    RecordConditionMapper recordConditionMapper;
    @Override
    public List<RecordGrade> getRecordGradeList() {
        return recordGradeMapper.getGradeList();
    }

    @Override
    public List<RecordCondition> getRecordConditionList() {
        return recordConditionMapper.getConditionList();
    }
}
